package com.hu.lsp.Test;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @Author lsp
 * @Date 2020/8/25 13:52
 * @Version 1.0
 */
public class ConditionUserCase {

    public Lock lock= new ReentrantLock();
    public Condition condition= lock.newCondition();

    public static void main(String[] args) {
        ConditionUserCase conditionUserCase= new ConditionUserCase();
        ExecutorService executorService = Executors.newFixedThreadPool(2);

    }



}
